package com.sg.bars.client.kernel.action;

import java.io.Serializable;

public class GetObject<T> extends ActionSupport<T> {
	private static final long serialVersionUID = 2893102661441106156L;

	private Class<? super T> clazz;
	private Serializable id;
	
	public GetObject(){
		super();
	}
	
	public GetObject(Class<? super T> clazz){
		this(clazz, null);
	}

	public GetObject(Class<? super T> clazz, Serializable id) {
		super();
		this.clazz = clazz;
		this.id = id;
	}

	public Class<? super T> getClazz() {
		return clazz;
	}

	public void setClazz(Class<? super T> clazz) {
		this.clazz = clazz;
	}

	public Serializable getId() {
		return id;
	}

	public void setId(Serializable id) {
		this.id = id;
	}

}
